import App from './App'
import service from './static/service.js'

// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
    ...App
})
app.$mount()
Vue.prototype.$uploadImg = service.uploadImg
Vue.prototype.service = service.service
Vue.prototype.IM_Server = new service.IM_Server()
Vue.prototype.IMLogin = service.IMLogin
Vue.prototype.baseUrl = service.baseUrl
Vue.prototype.imageUrl = service.ImageUrl
Vue.prototype.customer_server = service.customer_server
// #endif




// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif

// main.js，注意要在use方法之后执行
import uView from '@/uni_modules/uview-ui'
Vue.use(uView)
// 如此配置即可
// uni.$u.config.unit = 'rpx'

 